package com.cjm.one.model.order.dto;

import com.cjm.one.model.order.enums.OrderStatusEnum;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class OrderStatusDto {

    @NotNull(message = "订单状态不能为空")
    private OrderStatusEnum status;

    private Long userId;

    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    @Max(value = 200, message = "取消原因不能超过{value}个字符")
    private String cancelReason;

    @Max(value = 200, message = "退款说明不能超过{value}个字符")
    private String refundDescription;

    @Max(value = 200, message = "退货原因不能超过{value}个字符")
    private String reasonForRefund;
}
